// JavaScript Document
	function getStyle(obj,name)
	{
			if(obj.currentStyle)
				{
						return obj.currentStyle[name];
				}else{
						return getComputedStyle(obj,false)[name];
				}
	}
	
	//var timer = null;
	
	function startMove(obj,attri,iTarget)
	{
		
				clearInterval(obj.timer);
		
		 	obj.timer = setInterval(function(){
				if(attri=='opacity')
				{
					var cur = Math.round(parseFloat(getStyle(obj,attri))*100);
				}else
				{
					var cur = parseInt(getStyle(obj,attri));
				}
				
				
				var speed = (iTarget-cur)/6;

				speed= speed>0?Math.ceil(speed):Math.floor(speed);

				if(iTarget==cur)
					{
						clearInterval(obj.timer);
					}else{
						if(attri=='opacity')
							{
									obj.style.filter ='alpha(opacity'+(cur+speed) +')';  //IE
									obj.style.opacity = (cur+speed)/100;  // chrome FF
								
									
							}else{
								obj.style[attri] = cur + speed + 'px';
							}
						
					}
					
			},30);
		
	}